﻿using System;


namespace advadev.CanOpen
{

    /// <summary>
    /// Represents a time stamp object received event argument
    /// </summary>
    public class TimeStampObjectReceivedEventArgs
    {

        /// <summary>
        /// Initializes a new instance of the TimeStampObjectReceivedEventArgs
        /// class by the given parameter
        /// </summary>
        /// <param name="days">
        /// Received time stamp days
        /// </param>
        /// <param name="milliseconds">
        /// Received time stamp milliseconds
        /// </param>
        public TimeStampObjectReceivedEventArgs(UInt16 days, uint milliseconds)
        {
            Days = days;
            Milliseconds = milliseconds;
        }


        /// <summary>
        /// Gets the received time stamp days
        /// </summary>
        public UInt16 Days
        {
            get;
            private set;
        }

        /// <summary>
        /// Gets the received time stamp milliseconds
        /// </summary>
        public uint Milliseconds
        {
            get;
            private set;
        }

    }

}
